package com.yxj.threadcase1;

import java.util.concurrent.Callable;

public class MyCallable3 implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        //
        int sum = 0;
        for(int i = 1;i<=100; i++) {
            sum += i;
        }
        return sum;
    }
}
